package cn.amoqi.springboot.rabbit.controller;

import cn.amoqi.springboot.rabbit.rabbit.confirm.ConfirmSender;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConfirmController {

    @Autowired
    private ConfirmSender confirmSender;

    @RequestMapping("/confirmSend")
    public String send(){
        confirmSender.send();
        return "发送成功";
    }
}
